package com.swordliu.facebook.dao;

import com.swordliu.facebook.dao.base.BaseMapper;
import com.swordliu.facebook.pojo.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> selectRoles();

    Set<String> selectRoleKeys(@Param("id") Long id);
}